package com.yex.service;

import com.baomidou.mybatisplus.service.IService;
import com.yex.common.utils.PageUtils;
import com.yex.entity.RedemptionEntity;

import java.util.Map;

/**
 * 赎回etcc
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-01-08 09:43:27
 */
public interface RedemptionService extends IService<RedemptionEntity> {

    PageUtils queryPage(Map<String, Object> params);
    /**
     * 自动解冻锁仓
     * 1 查询 到期的数据
     * 2 算出 返还 数量到账户
     *
     */
    Integer updateRedemption();
}

